package com.ruoyi.wechat.mapper;

import java.util.List;
import com.ruoyi.wechat.domain.Commonication;

/**
 * 营地交流Mapper接口
 * 
 * @author 李硕
 * @date 2024-12-25
 */
public interface CommonicationMapper 
{
    /**
     * 查询营地交流
     * 
     * @param commonicationId 营地交流主键
     * @return 营地交流
     */
    public Commonication selectCommonicationByCommonicationId(String commonicationId);

    /**
     * 查询营地交流列表
     * 
     * @param commonication 营地交流
     * @return 营地交流集合
     */
    public List<Commonication> selectCommonicationList(Commonication commonication);

    /**
     * 新增营地交流
     * 
     * @param commonication 营地交流
     * @return 结果
     */
    public int insertCommonication(Commonication commonication);

    /**
     * 修改营地交流
     * 
     * @param commonication 营地交流
     * @return 结果
     */
    public int updateCommonication(Commonication commonication);

    /**
     * 删除营地交流
     * 
     * @param commonicationId 营地交流主键
     * @return 结果
     */
    public int deleteCommonicationByCommonicationId(String commonicationId);

    /**
     * 批量删除营地交流
     * 
     * @param commonicationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommonicationByCommonicationIds(String[] commonicationIds);
}
